package router

import (
	"github.com/gin-gonic/gin"
)

func UserRegister(c *gin.Engine) {

	c.POST("/register", Register)
	c.POST("/login", Login)
	/*	c.Use(pkg.JWTAuth("2209a"))*/
	c.POST("/goodcreate", GoodsCreate)
	c.POST("/real", RealName)
	c.POST("/orderSn", OrderSn)
	c.POST("/insure", Insure)
	c.POST("/callback", Callback)
	c.POST("/scenicSo", ScenicSo)
	c.GET("/orderFind", OrderFind)
	c.GET("/refund", Refund)
}
